(function($) {
    var options = {name: 'zhangsan'};

    var box1 = $('#box1');

    box1.click(function() {
        alert(options.name);
    });
})(jQuery);

